home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / c / gcc263-utildoc.lha / gnu / man / man1 / ln.1 < prev    next >
Encoding:
Text File  |  1994-12-19  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4. LN(1L)                                                     LN(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        ln - make links between files
  9.  
  10. SSYYNNOOPPSSIISS
  11.        llnn [options] source [dest]
  12.        llnn [options] source... directory
  13.        Options:
  14.        [-bdfinsvF]      [-S      backup-suffix]     [-V     {num-
  15.        bered,existing,simple}]                        [--version-
  16.        control={numbered,existing,simple}]  [--backup]  [--direc-
  17.        tory] [--force] [--interactive] [--no-dereference] [--sym-
  18.        bolic]   [--verbose]   [--suffix=backup-suffix]   [--help]
  19.        [--version]
  20.  
  21. DDEESSCCRRIIPPTTIIOONN
  22.        This manual page documents the GNU version of llnn.  If  the
  23.        last  argument  names an existing directory, llnn links each
  24.        other given file into a file with the same  name  in  that
  25.        directory.   If only one file is given, it links that file
  26.        into the current directory.  Otherwise, if only two  files
  27.        are  given,  it links the first onto the second.  It is an
  28.        error if the last argument is not  a  directory  and  more
  29.        than two files are given.  It makes hard links by default.
  30.        By default, it does not remove existing files.
  31.  
  32.    OOPPTTIIOONNSS
  33.        _-_b_, _-_-_b_a_c_k_u_p
  34.               Make backups of files that are about to be removed.
  35.  
  36.        _-_d_, _-_F_, _-_-_d_i_r_e_c_t_o_r_y
  37.               Allow the super-user to make hard links to directo-
  38.               ries.
  39.  
  40.        _-_f_, _-_-_f_o_r_c_e
  41.               Remove existing destination files.
  42.  
  43.        _-_i_, _-_-_i_n_t_e_r_a_c_t_i_v_e
  44.               Prompt  whether  to  remove  existing   destination
  45.               files.
  46.  
  47.        _-_n_, _-_-_n_o_-_d_e_r_e_f_e_r_e_n_c_e
  48.               When  the  specified destination is a symbolic link
  49.               to a directory, attempt  to  replace  the  symbolic
  50.               link  rather than dereferencing it to create a link
  51.               in the directory to which it points.   This  option
  52.               is most useful in conjunction with --force.
  53.  
  54.        _-_s_, _-_-_s_y_m_b_o_l_i_c
  55.               Make  symbolic  links  instead of hard links.  This
  56.               option produces an error message on systems that do
  57.               not support symbolic links.
  58.  
  59.        _-_v_, _-_-_v_e_r_b_o_s_e
  60.               Print the name of each file before linking it.
  61.  
  62.  
  63.  
  64. FSF                     GNU File Utilities                      1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. LN(1L)                                                     LN(1L)
  71.  
  72.  
  73.        _-_-_h_e_l_p Print  a  usage message on standard output and exit
  74.               successfully.
  75.  
  76.        _-_-_v_e_r_s_i_o_n
  77.               Print version information on standard  output  then
  78.               exit successfully.
  79.  
  80.        _-_S_, _-_-_s_u_f_f_i_x _b_a_c_k_u_p_-_s_u_f_f_i_x
  81.               The  suffix used for making simple backup files can
  82.               be set with  the  SSIIMMPPLLEE__BBAACCKKUUPP__SSUUFFFFIIXX  environment
  83.               variable,  which  can be overridden by this option.
  84.               If neither of those is given, the default  is  `~',
  85.               as it is in Emacs.
  86.  
  87.        _-_V_, _-_-_v_e_r_s_i_o_n_-_c_o_n_t_r_o_l _{_n_u_m_b_e_r_e_d_,_e_x_i_s_t_i_n_g_,_s_i_m_p_l_e_}
  88.               The  type  of backups made can be set with the VVEERR--
  89.               SSIIOONN__CCOONNTTRROOLL environment  variable,  which  can  be
  90.               overridden  by  this option.  If VVEERRSSIIOONN__CCOONNTTRROOLL is
  91.               not set and this option is not given,  the  default
  92.               backup  type  is `existing'.  The value of the VVEERR--
  93.               SSIIOONN__CCOONNTTRROOLL environment variable and the  argument
  94.               to  this  option  are  like the GNU Emacs `version-
  95.               control' variable;  they  also  recognize  synonyms
  96.               that  are  more  descriptive.  The valid values are
  97.               (unique abbreviations are accepted):
  98.  
  99.               `t' or `numbered'
  100.                      Always make numbered backups.
  101.  
  102.               `nil' or `existing'
  103.                      Make numbered backups of files that  already
  104.                      have them, simple backups of the others.
  105.  
  106.               `never' or `simple'
  107.                      Always make simple backups.
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. FSF                     GNU File Utilities                      2
  131.  
  132.  
  133.